<div class="cate-infor">
    <div class="block-title">
        <h3>Giá phòng</h3>
        <div class="vnd">
            <input type="radio" id="prr" checked><label for="prr" style="color: #FFF;">&nbsp;VNĐ</label>
        </div>
    </div>
    <div class="block-content">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <th class="room-gp">Phòng</th>
                <th class="prh-gp">Giá theo giờ</th>
                <th class="prn-gp">Giá qua đêm nhận phòng sau</th>
                <th class="prd-gp">Giá theo ngày</th>
                <th class="sum-peo-gp">Giá theo tuần</th>
                <th class="action-gp">Giá theo tháng</th>
            </tr>
            <?php foreach ($data as $key => $value) { ?>
            <tr>
                <td class="room-gp"><?php echo $value['room']['name']; ?></td>
                <td class="prh-gp">
                    <ul>
                        <?php foreach ($value['price_hour'] as $k => $val) {
                            if($val['type'] == 1){
                        ?>
                            <li><?php echo $val['time'].'h - '.$val['price']; ?></li>
                        <?php unset($value['price_hour'][$k]); } } ?>
                    </ul>
                </td>
                <td class="prn-gp">
                    <ul>
                        <?php foreach ($value['price_hour'] as $v) { ?>
                            <li><?php echo $v['time'].'h:00 - '.$v['price']; ?></li>
                        <?php } ?>
                    </ul>
                </td>
                <td class="prd-gp"><?php echo $value['price_date']['price_date']; ?></td>
                <td class="sum-peo-gp"><?php echo $value['price_date']['price_week']; ?></td>
                <td class="action-gp"><?php echo $value['price_date']['price_month']; ?></td>
            </tr>
            <?php } ?>
        </table>
    </div>
</div>